package com.baizhi.service.impl.aaa;

import com.baizhi.dao.OrderDao;
import com.baizhi.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderServiceImpl implements OrderService {

    @Autowired
    private OrderDao orderDao;

    @Override
    public int addOrder() {
      //  int i = 1 / 0;
        orderDao.insert();
        return 1;
    }
}
